package com.icinfo.cloud.provider.punish.ucase.casemain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 描述：案件当事人数据查询传输对象
 *
 * @author xiangyuyu
 * @date 2022/2/18 16:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CasePartiesRecordQueryDto {
    /**
     * 案件id
     */
    @NotBlank(message = "案件id不能为空")
    private String caseId;
    /**
     * 当事人id
     */
    private String partyId;

    /**
     * 是否查询包含无效状态的记录(0-否/1-是)
     */
    private String isQueryInvalidData;

    /**
     * 是否为app接口调用（0-否/1-是）
     */
    private String isApp;


    public CasePartiesRecordQueryDto(@NotBlank(message = "案件id不能为空") String caseId, String partyId, String isQueryInvalidData) {
        this.caseId = caseId;
        this.partyId = partyId;
        this.isQueryInvalidData = isQueryInvalidData;
    }
}
